@media (max-width: 480px) {
  .hide-480 {
    display: none;
  }

  .buttons {
    justify-content: center;
  }

  .button {
    height: 40px;
  }

  .form-search .button {
    max-width: 100px;
  }

  .aside__socials {
    display: none;
  }

  .head__title {
    font-size: 20px;
    line-height: 24px;
  }

  .main-calendar__list {
    grid-template-columns: 1fr;
  }

  .leaders__list {
    grid-template-columns: 1fr;
    grid-row-gap: 15px;
  }

  .leaders__name {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .leaders__firstname {
    margin: 0 5px 0 0;
  }

  .leaders__text {
    text-align: center;
  }

  .leaders__img {
    max-width: 180px;
  }

  .sponsors__item {
    width: calc(100%/3);
  }

  .sponsors__item--first {
    width: calc(85%/2);
  }

  .sponsors__link {
    padding: 10px 5px;
  }

  .sponsors__img {
    max-width: 100%;
  }

  .sponsors__item--first .sponsors__img {
    max-width: 100%;
  }

  .documents__info {
    width: 70px;
  }

  .documents__date {
    font-size: 10px;
    line-height: 12px;
  }

  .documents__download {
    width: 40px;
  }

  .files__title {
    padding: 0;
  }

  .files__icon {
    margin: 0 0 10px 0;
  }

  .contacts__item:not(:last-child) {
    margin: 0 0 15px 0;
  }

  .news-list__container {
    margin: 0 0 14px 0;
  }

  .news-list__picture {
    border-radius: unset;
  }

  .news-list__img {
    display: block;
    width: 100%;
    height: auto;
  }

  .news-list__text {
    font-size: 12px;
    line-height: 16px;
  }

  .media__title {
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 10px 0;
  }

  .media__date {
    font-size: 14px;
    line-height: 18px;
  }

  .news__date {
    font-size: 18px;
    line-height: 22px;
  }

  .bases__img {
    max-width: 100%;
  }

  .info__container {
    flex-direction: column;
    align-items: center;
  }

  .info__picture {
    margin: 0 0 24px 0;
    width: 160px;
    height: 160px;
  }

  .info__item {
    text-align: center;
    align-items: center;
  }

  .info__documents {
    justify-content: center;
  }

  .info__item--results {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .info__item--results .info__unit {
    display: block;
  }

  .info__unit {
    padding: 0;
    margin: 0 0 10px 0;
  }

  .info__value {
    display: block;
  }

  .info__documents-item {
    margin: 0 14px;
  }

  .table--big .table__row,
  .table__head, .table__row {
    height: 40px;
  }

  .table,
  .table__text {
    font-size: 13px;
    line-height: 15px;
  }

  .table__cell {
    padding: 5px;
  }

  .table-calendar .table__row {
    height: 50px;
  }

  .table-records__link {
    font-size: 14px;
    line-height: 16px;
  }

  .table-records__logo {
    padding: 0;
  }

  .table-records .table__head {
    display: flex;
  }

  .table-records .table__head .table__cell {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .table-records .table__head .table__cell:after {
    background-color: rgba(235, 250, 255, 1);
  }

  .table-records .table__row {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
  }

  .table-records__cell {
    width: 50%;
    text-align: center;
    padding: 0;
  }

  .table-records__type {
    width: 100%;
    padding: 0 5px 5px;
  }

  .table-records__type:after,
  .table-records__logo:after {
    display: none;
  }

  .table-records__text {
    text-align: center;
  }

  .table-records .table__head .table-records__head-cell {
    display: none;
  }

  .profile {
    margin: 0 0 20px 0;
  }

  .profile__img {
    width: 164px;
    height: 164px;
  }

  .medals {
    margin: 0 0 15px 0;
  }

  .medals__item {
    margin: 0 10px;
  }

  .medals__icon {
    width: 36px;
    height: 40px;
  }

  .medals__number {
    right: -10px;
    width: 20px;
    height: 20px;
    font-size: 10px;
    line-height: 20px;
  }

  .profile__item {
    min-height: 30px;
  }

  .profile__unit {
    width: 130px;
    font-size: 12px;
    line-height: 14px;
    padding: 5px 5px 5px 0;
  }

  .profile__value {
    font-size: 12px;
    line-height: 14px;
    padding: 5px 0;
  }

  .info-text {
    font-size: 12px;
    line-height: 16px;
  }

  .persons__link {
    max-width: unset;
    width: 100%;
  }

  .persons__title {
    text-align: center;
    justify-content: center;
  }

  .bases__link {
    flex-direction: column;
  }

  .bases__picture {
    display: block;
    border-radius: unset;
  }

  .modal {
    max-width: unset;
    left: 0;
    margin-left: unset;
    top: 0;
    height: 100vh;
    overflow: scroll;
    border-radius: unset;
    padding: 40px 15px 15px 15px;
  }

  .modal__title {
    font-size: 24px;
    line-height: 28px;
  }

  .filters.open .filters__list {
    padding: 20px 15px;
  }

  .main-calendar__item--big {
    grid-column: unset;
  }

  .rating__container--additional {
    flex-direction: column;
  }

  .rating__checkbox {
    margin: 0 0 20px 0;
    width: 100%;
    order: unset;
  }

  .tags__item {
    padding: 7px;
  }

  .regions__list {
    column-count: unset;
    column-gap: unset;
  }

  .regions__block .block {
    padding: 10px 15px;
  }

  .error__title {
    font-size: 24px;
    line-height: 28px;
    margin: 0 0 20px;
  }

  .error__link {
    margin: 0 0 20px;
  }

  .error__text {
    font-size: 14px;
    line-height: 18px;
  }

  .error__logo {
    width: 150px;
    height: auto;
  }

  [data-empty]:empty {
    font-size: 14px;
    line-height: 18px;
    padding: 10px;
  }

  .filters-container {
    gap: 20px;
    margin: 0 0 20px 0;
  }

  .slider--media .slider__arrows-link {
    top: calc(50% - 30px);
    padding: 10px;
  }
}

@media (max-width: 440px) {
  .hide-440 {
    display: none;
  }
}

@media (max-width: 400px) {
  .hide-400 {
    display: none;
  }

  .files__list {
    grid-template-columns: 1fr;
  }

  .rating__block--period {
    flex-direction: column;
    align-items: flex-start;
  }

  .rating__block--period .rating__block-half {
    flex-direction: row;
    align-items: center;
  }

  .rating__block--period .rating__block-half:first-child {
    margin: 0 0 20px 0;
  }

  .rating__block--period .rating__block-text {
    margin: 0 10px 0 0;
  }

  .birthday__link {
    flex-direction: column;
    text-align: center;
  }

  .birthday__img {
    margin: 0 0 10px;
  }
}